package com.yyl.modules.shiro.vo;

public class ResponseBean {
	// 状态码
	private int code;
	// 返回信息
	private String msg;
	// 返回数据
	private Object data;
	
	public ResponseBean(int code, String msg, Object data) {
		this.code = code;
		this.msg = msg;
		this.data = data;
	}
	
	public ResponseBean(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	
	public ResponseBean(int code) {
		this.code = code;
	}
	
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
}
